import axios from '@/utils/request';

export function getRecordRewardPunishmentList(params) {
    return axios.post({
        url: '/record-reward-punishment/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editRecordRewardPunishment(params) {
    return axios.post({
        url: '/record-reward-punishment/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteRecordRewardPunishment(params) {
    return axios.post({
        url: '/record-reward-punishment/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadRecordRewardPunishment(params) {
    return axios.post({
        url: '/record-reward-punishment/load',
        data: params
    }).then((res) => {
        return res
    })
}

